package java68_6;

public class DriverTest {
    public static void main(String[] args) {

        Driver d=new Driver("老刘");
        //int k=d.Driver(":xxx");

        Bus b=new Bus("233","大学城","公交四公司");
        Car c=new Car("皖A3943","宾利");
        Train train=new Train("G2328");
        d.drive(b);
        d.drive(c);
        d.drive(train);
    }
}
